xend: pass-through: Parse command line for multi-function hot-plug and unplug
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 27 Jun 2009 08:56:15 +0000 (09:56 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 27 Jun 2009 08:56:15 +0000 (09:56 +0100)
commit82334d45f352c191b5097ed2cf901ea17a78a4f3
tree648c627c9a48cb53df82b4540a436f6e788634c9
parent437cbbf3fb7c7ad2f13cdb29ceb92f63b1dc20c7
xend: pass-through: Parse command line for multi-function hot-plug and unplug

Hook things up to allow multi-function pass-through.

This includes making sure that request is valid.
In the case of pci-detach:

* All the functions requested must be attached to the same virtual
  slot * and;
* A request must include the functions attached to a virtual slot

Cc: Dexuan Cui <dexuan.cui@intel.com>
Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xm/main.py